package ece.fr.varlet_aimez.application;

import ece.fr.varlet_aimez.gui.MonteCarloGUI;
import ece.fr.varlet_aimez.monothread.MonteCarloSingle;
import ece.fr.varlet_aimez.multithread.MonteCarloMulti;

public class Application {
	public static void main(final String[] args) throws Exception{
		System.out.println("Lancement MCSingle");
		MonteCarloSingle mcSingle = new MonteCarloSingle();
		new MonteCarloGUI(mcSingle);
		
		System.out.println("Lancement MCMulti");
		MonteCarloMulti mcMulti = new MonteCarloMulti();
		mcMulti.setPoolSize(10);
		new MonteCarloGUI(mcMulti);
	}
}
